package com.xrtn.mapper;

import com.xrtn.bean.SysAccountCardInfo;
import com.xrtn.bean.SysDiscountCardInfo;

import java.util.List;
import java.util.Map;

public interface SysDiscountCardInfoMapper {
    int deleteByPrimaryKey(Integer cardId);

    int insert(SysDiscountCardInfo record);

    int insertSelective(SysDiscountCardInfo record);

    SysDiscountCardInfo selectByPrimaryKey(Integer cardId);

    Integer selectCouponCount(Integer couponId);

    List<SysDiscountCardInfo> selectByMap(Map<String,Object> params);

    List<Map<String,Object>> selectDiscountList(Map<String,Object> params);

    int updateByPrimaryKeySelective(SysDiscountCardInfo record);

    int updateByPrimaryKey(SysDiscountCardInfo record);
}